
#ifndef __IOCP_IOSTREAM_CALLBACK_H__
#define __IOCP_IOSTREAM_CALLBACK_H__

#include "iocpdef.h"
#ifdef __cplusplus
extern "C" {
#endif

    void ios_input_bufcb(STREAMBUFFER * pStream, int bFull, void * pUserData);
    void ios_output_bufcb(STREAMBUFFER * pStream, int bFull, void * pUserData);

    void ios_event_closecb(IOEVENT * pEvent, DWORD dwEvent, void * pUserData);
    void ios_event_readcb(IOEVENT * pEvent, DWORD dwEvent, void * pUserData);
    void ios_event_writecb(IOEVENT * pEvent, DWORD dwEvent, void * pUserData);

#ifdef __cplusplus
};
#endif

#endif